package com.ttj.domain.oracle.gen;

import java.io.Serializable;
import java.util.Date;

public class SuperBProxyStore implements Serializable {
    /**
     * 订单编号
     */
    private Integer orderId;

    /**
     * 商品ID
     */
    private Integer gId;

    /**
     * 客户ID
     */
    private Integer cId;

    /**
     * 入库时间
     */
    private Date indate;

    /**
     * 总量
     */
    private Integer totalNum;

    /**
     * 单价
     */
    private Double cost;

    /**
     * 总价
     */
    private Double tcost;

    /**
     * 使用数量
     */
    private Integer useNum;

    /**
     * 剩余数量
     */
    private Integer overNum;

    /**
     * 剩余金额
     */
    private Double overMoney;

    /**
     * 客户部门ID
     */
    private Integer cextId;

    /**
     * 原料id
     */
    private Integer mId;

    /**
     * 原料名称
     */
    private String mName;

    private static final long serialVersionUID = 1L;

    /**
     * 订单编号
     */
    public Integer getOrderId() {
        return orderId;
    }

    /**
     * 订单编号
     */
    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    /**
     * 商品ID
     */
    public Integer getgId() {
        return gId;
    }

    /**
     * 商品ID
     */
    public void setgId(Integer gId) {
        this.gId = gId;
    }

    /**
     * 客户ID
     */
    public Integer getcId() {
        return cId;
    }

    /**
     * 客户ID
     */
    public void setcId(Integer cId) {
        this.cId = cId;
    }

    /**
     * 入库时间
     */
    public Date getIndate() {
        return indate;
    }

    /**
     * 入库时间
     */
    public void setIndate(Date indate) {
        this.indate = indate;
    }

    /**
     * 总量
     */
    public Integer getTotalNum() {
        return totalNum;
    }

    /**
     * 总量
     */
    public void setTotalNum(Integer totalNum) {
        this.totalNum = totalNum;
    }

    /**
     * 单价
     */
    public Double getCost() {
        return cost;
    }

    /**
     * 单价
     */
    public void setCost(Double cost) {
        this.cost = cost;
    }

    /**
     * 总价
     */
    public Double getTcost() {
        return tcost;
    }

    /**
     * 总价
     */
    public void setTcost(Double tcost) {
        this.tcost = tcost;
    }

    /**
     * 使用数量
     */
    public Integer getUseNum() {
        return useNum;
    }

    /**
     * 使用数量
     */
    public void setUseNum(Integer useNum) {
        this.useNum = useNum;
    }

    /**
     * 剩余数量
     */
    public Integer getOverNum() {
        return overNum;
    }

    /**
     * 剩余数量
     */
    public void setOverNum(Integer overNum) {
        this.overNum = overNum;
    }

    /**
     * 剩余金额
     */
    public Double getOverMoney() {
        return overMoney;
    }

    /**
     * 剩余金额
     */
    public void setOverMoney(Double overMoney) {
        this.overMoney = overMoney;
    }

    /**
     * 客户部门ID
     */
    public Integer getCextId() {
        return cextId;
    }

    /**
     * 客户部门ID
     */
    public void setCextId(Integer cextId) {
        this.cextId = cextId;
    }

    /**
     * 原料id
     */
    public Integer getmId() {
        return mId;
    }

    /**
     * 原料id
     */
    public void setmId(Integer mId) {
        this.mId = mId;
    }

    /**
     * 原料名称
     */
    public String getmName() {
        return mName;
    }

    /**
     * 原料名称
     */
    public void setmName(String mName) {
        this.mName = mName;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", orderId=").append(orderId);
        sb.append(", gId=").append(gId);
        sb.append(", cId=").append(cId);
        sb.append(", indate=").append(indate);
        sb.append(", totalNum=").append(totalNum);
        sb.append(", cost=").append(cost);
        sb.append(", tcost=").append(tcost);
        sb.append(", useNum=").append(useNum);
        sb.append(", overNum=").append(overNum);
        sb.append(", overMoney=").append(overMoney);
        sb.append(", cextId=").append(cextId);
        sb.append(", mId=").append(mId);
        sb.append(", mName=").append(mName);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        SuperBProxyStore other = (SuperBProxyStore) that;
        return (this.getOrderId() == null ? other.getOrderId() == null : this.getOrderId().equals(other.getOrderId()))
            && (this.getgId() == null ? other.getgId() == null : this.getgId().equals(other.getgId()))
            && (this.getcId() == null ? other.getcId() == null : this.getcId().equals(other.getcId()))
            && (this.getIndate() == null ? other.getIndate() == null : this.getIndate().equals(other.getIndate()))
            && (this.getTotalNum() == null ? other.getTotalNum() == null : this.getTotalNum().equals(other.getTotalNum()))
            && (this.getCost() == null ? other.getCost() == null : this.getCost().equals(other.getCost()))
            && (this.getTcost() == null ? other.getTcost() == null : this.getTcost().equals(other.getTcost()))
            && (this.getUseNum() == null ? other.getUseNum() == null : this.getUseNum().equals(other.getUseNum()))
            && (this.getOverNum() == null ? other.getOverNum() == null : this.getOverNum().equals(other.getOverNum()))
            && (this.getOverMoney() == null ? other.getOverMoney() == null : this.getOverMoney().equals(other.getOverMoney()))
            && (this.getCextId() == null ? other.getCextId() == null : this.getCextId().equals(other.getCextId()))
            && (this.getmId() == null ? other.getmId() == null : this.getmId().equals(other.getmId()))
            && (this.getmName() == null ? other.getmName() == null : this.getmName().equals(other.getmName()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getOrderId() == null) ? 0 : getOrderId().hashCode());
        result = prime * result + ((getgId() == null) ? 0 : getgId().hashCode());
        result = prime * result + ((getcId() == null) ? 0 : getcId().hashCode());
        result = prime * result + ((getIndate() == null) ? 0 : getIndate().hashCode());
        result = prime * result + ((getTotalNum() == null) ? 0 : getTotalNum().hashCode());
        result = prime * result + ((getCost() == null) ? 0 : getCost().hashCode());
        result = prime * result + ((getTcost() == null) ? 0 : getTcost().hashCode());
        result = prime * result + ((getUseNum() == null) ? 0 : getUseNum().hashCode());
        result = prime * result + ((getOverNum() == null) ? 0 : getOverNum().hashCode());
        result = prime * result + ((getOverMoney() == null) ? 0 : getOverMoney().hashCode());
        result = prime * result + ((getCextId() == null) ? 0 : getCextId().hashCode());
        result = prime * result + ((getmId() == null) ? 0 : getmId().hashCode());
        result = prime * result + ((getmName() == null) ? 0 : getmName().hashCode());
        return result;
    }
}